Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

114
Vistas
Trigger the mouse event while moving | PoitnerLockControl | Mouse Event | React Three Fiber

In this example, I have 2 boxes. When I hover to a box, this will change the color to be pink. The problem is when I hover a box and keep this mouse (don't move the mouse) and move the camera, the box still be pink until I move the camera outside of the box scope.

My question is: How to fix that? How can I trigger the mouse event when I'm moving?

My Demo: https://react-three-fiber-demo-chi.vercel.app/
My Code: https://github.com/hung-viet/react-three-fiber-demo

I've researched it for 2 weeks but still not find out any answers.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda